﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Objects
{
    public class SearchArticle
    {
        #region [Constructor]
        /// <summary>
        /// Initializes a new instance of the <see cref="SearchArticle" /> class.
        /// </summary>
        public SearchArticle()
        {
            
        } 
        #endregion

        #region [Public Properties]
        /// <summary>
        /// The article id property
        /// </summary>
        public int ArticleID { get; set; }
        /// <summary>
        /// The article name property
        /// </summary>
        public string ArticleName { get; set; }
        /// <summary>
        /// The article image property
        /// </summary>
        public string ArticleImageUrl { get; set; }
        /// <summary>
        /// The article type property
        /// </summary>
        public string ArticleTypeName { get; set; }
        /// <summary>
        /// The article stars property
        /// </summary>
        public int RatingStars { get; set; }
        /// <summary>
        /// The written person username
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// The written person profile picture
        /// </summary>
        public string ProfilePictureURL { get; set; }
        /// <summary>
        /// The user id property
        /// </summary>
        public int UserID { get; set; }
        /// <summary>
        /// The Read only property if<value>true</value> cannot rate else<value>false</value> can rate
        /// </summary>
        public bool ReadOnly { get; set; }
        #endregion
    }
}
